clang main.m -framework Cocoa -mmacosx-version-min=10.6 -o PerformService